target_include_directories(${PROJECT_NAME}.elf 
    PUBLIC 
    ${CMAKE_CURRENT_LIST_DIR}
)

target_sources(${PROJECT_NAME}.elf
    PRIVATE
    ${CMAKE_CURRENT_LIST_DIR}/SEGGER_RTT.c
    ${CMAKE_CURRENT_LIST_DIR}/SEGGER_RTT_printf.c
    ${CMAKE_CURRENT_LIST_DIR}/SEGGER_RTT_Syscalls_GCC.c
)
